package com.qst.express.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mjh
 * @since 2022-09-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Courier对象", description="")
public class Courier implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "总快递员数量")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "快递员姓名")
    private String cname;
    @ApiModelProperty(value = "快递员密码")
    private String cpassword;
    @ApiModelProperty(value = "快递员手机号码")
    private String cphone;
    @ApiModelProperty(value = "快递员身份证")
    private String identify;
    @ApiModelProperty(value = "派送量")
    private Integer delivery;
    @ApiModelProperty(value = "创建时间", example = "2019-01-01 10:10:10")
    @TableField(fill = FieldFill.INSERT)
    private Date createtime;
    @ApiModelProperty(value = "上次登录时间", example = "2019-01-01 10:10:10")
    private Date lastlogin;
    @ApiModelProperty(value = "总快递员数量")
    private Integer identification;
    @ApiModelProperty(value = "头像")
    private String img;


}
